﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login"
    Theme="Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="App_Themes/Main/Main.css" rel="stylesheet" type="text/css" />
</head>
<body>

    <script src="Javascript/jquery.js" type="text/javascript"></script>

    <script type="text/javascript">

        $(document).ready(function() {

            var panel = $("#DivLogin");
            panel.css("top", ($(window).height() - panel.height()) / 2 + $(window).scrollTop() + "px")
                 .css("left", ($(window).width() - panel.width()) / 2 + $(window).scrollLeft() + "px");
        });
    
    </script>

    <form id="form1" runat="server">
    <div id="DivLogin" style="text-align: center; vertical-align: middle; position: absolute">
        <table style="text-align: left" class="YMAnaTablo">
            <tr>
                <td style="width: 120px">
                    Kullanıcı Adı:
                </td>
                <td>
                    <asp:TextBox ID="TextBoxKullaniciAdi" runat="server" Width="120"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="text-align: left;">
                    Parola :
                </td>
                <td>
                    <asp:TextBox ID="TextBoxParola" runat="server" Width="120" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="LabelHataMesaji" runat="server" Text="" ForeColor="Red"></asp:Label>
                </td>
                <td style="text-align: right">
                    <asp:LinkButton ID="LinkButtonGiris" runat="server" Text="Giris" OnClick="LinkButtonGiris_Click"></asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
